﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
    <script type="text/javascript" src="mm/gameengine.js"></script>

    
</head>
<body>
<div style="width: 960px; height: 640px; margin: 0px auto">
<canvas id="canvas" width="960" height="640" style="background-color: #338; border: solid 1px black;"></canvas>
<div>X for jump, C for shoot, arrows for move. Enjoy!</div>
</div>

<br />
<div id="position"></div>
<script type="text/javascript" src="biolab/mm/biolabs.js"></script>
<script type="text/javascript">
  var res = [];
  Eg.init({
    canvasId: 'canvas',
    fps: 60,
    width: 240,
    height: 160,
    scale: 4,
    resources: res,
    GameClass: BiolabGame,
    font: 'Resource/font.png',
    AutoStart: true
  });
  Eg.input.bind(Eg.KEY.LEFT_ARROW, 'left');
  Eg.input.bind(Eg.KEY.RIGHT_ARROW, 'right');
  Eg.input.bind(Eg.KEY.W, 'cameraUp');
  Eg.input.bind(Eg.KEY.S, 'cameraDown');
  Eg.input.bind(Eg.KEY.A, 'cameraLeft');
  Eg.input.bind(Eg.KEY.D, 'cameraRight');
  Eg.input.bind(Eg.KEY.X, 'jump');
  Eg.input.bind(Eg.KEY.C, 'shoot');

</script>
<!--<script type="text/javascript" src="debug/menu.js"></script>
  <script type="text/javascript" src="debug/entities-panel.js"></script>
  <script type="text/javascript" src="debug/graph-panel.js"></script>-->
  <!--<script type="text/javascript" src="debug/maps-panel.js"></script>-->
</body>
</html>
